.. _ocacodingmanager: 1.3.12 OcaCodingManager ======================== Class Hierarchy: :ref:`OcaRoot ` : :ref:`OcaManager ` : :ref:`OcaCodingManager ` .. cpp:class:: OcaCodingManager: OcaManager Optional manager that collects all media decoders/encoders (Codecs) which the device owns. - Must be instantiated in every device that implements more than one media encoding scheme and/or more than one media decoding scheme. - If instantiated, object number must be 12. **Properties**: .. _ocacodingmanager_availabledecodingschemes: .. cpp:member:: OcaMap AvailableDecodingSchemes Map of names of media decoding schemes the device supports, indexed by scheme ID. This property has id ``3.2``. .. _ocacodingmanager_availableencodingschemes: .. cpp:member:: OcaMap AvailableEncodingSchemes Map of names of media encoding schemes the device supports, indexed by scheme ID. This property has id ``3.1``. .. _ocacodingmanager_classid: .. cpp:member:: static const OcaClassID ClassID = "1.3.12" Number that uniquely identifies the class. Note that this differs from the object number, which identifies the instantiated object. This property is an override of the **OcaRoot** property. This property has id ``1.1``. .. _ocacodingmanager_classversion: .. cpp:member:: static const OcaUint16 ClassVersion = 3 Identifies the interface version of the class. Any change to the class definition leads to a higher class version. This property is an override of the **OcaRoot** property. This property has id ``1.2``. Properties inherited from :ref:`ocamanager`: - :cpp:texpr:`OcaClassID` :ref:`OcaRoot::ClassID ` - :cpp:texpr:`OcaClassVersionNumber` :ref:`OcaRoot::ClassVersion ` - :cpp:texpr:`OcaBoolean` :ref:`OcaRoot::Lockable ` - :cpp:texpr:`OcaLockState` :ref:`OcaRoot::LockState ` - :cpp:texpr:`OcaONo` :ref:`OcaRoot::ObjectNumber ` - :cpp:texpr:`OcaString` :ref:`OcaRoot::Role ` - :cpp:texpr:`OcaClassID` :ref:`OcaManager::ClassID ` - :cpp:texpr:`OcaClassVersionNumber` :ref:`OcaManager::ClassVersion ` **Methods**: .. _ocacodingmanager_getavailableencodingschemes: .. cpp:function:: OcaStatus GetAvailableEncodingSchemes(OcaMap &Schemes) Retrieves the map of available encoding schemes, indexed by scheme ID. Return value indicates success of the retrieval. This method has id ``3.1``. - :cpp:expr:`Schemes`: Output parameter. .. _ocacodingmanager_getavailabledecodingschemes: .. cpp:function:: OcaStatus GetAvailableDecodingSchemes(OcaMap &Schemes) Retrieves the map of available decoding schemes, indexed by scheme ID. Return value indicates success of the retrieval. This method has id ``3.2``. - :cpp:expr:`Schemes`: Output parameter. Methods inherited from :ref:`ocamanager`: - :ref:`OcaManager::GetClassIdentification ` - :ref:`OcaManager::GetLockable ` - :ref:`OcaManager::GetLockState ` - :ref:`OcaManager::GetRole ` - :ref:`OcaManager::SetLockNoWrite ` - :ref:`OcaManager::SetLockNoReadWrite ` - :ref:`OcaManager::Unlock `